package com.bhkj.pdjhbgnewproject.core.notlogin;

import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.widget.Toast;

import com.bhkj.pdjhbgnewproject.R;
import com.bhkj.pdjhbgnewproject.common.contanct.Contacts;
import com.bhkj.pdjhbgnewproject.common.utils.UpdateUtil;
import com.bhkj.pdjhbgnewproject.core.activity.BindIpActivity;
import com.bhkj.pdjhbgnewproject.core.base.BaseActivity;
import com.bhkj.pdjhbgnewproject.core.service.ObtainPdInfoService;
import com.blankj.utilcode.util.ActivityUtils;
import com.blankj.utilcode.util.NetworkUtils;
import com.blankj.utilcode.util.ObjectUtils;
import com.blankj.utilcode.util.SPUtils;
import com.blankj.utilcode.util.ServiceUtils;

import cn.jpush.android.api.JPushInterface;

public class NotLoginActivity extends BaseActivity implements INotLoginView {

    private NotLoginHandler notLoginHandler;

    @Override
    public int getLayoutId() {
        return getResources().getBoolean(R.bool.isYsd) ? R.layout.activity_not_login : R.layout.activity_main_real;
    }

    @Override
    public void initView() {
        UpdateUtil.checkUpdate(this,true);
    }

    @Override
    public void initData() {
        notLoginHandler = new NotLoginHandler(this);
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        ServiceUtils.startService(ObtainPdInfoService.class);

    }

    @Override
    public void obtainWindowInfo() {
        super.obtainWindowInfo();

    }
}
